package org.koyabr.webx.demo.danmaku.dal.dao;

import java.util.List;
import java.util.Map;


public interface MulToMulDao{
	
    void insertFollow(String followingName, String followedName);
    void insertWatch(String username, String postId);
    void insertLike(String username, String postId);
    void insertFavor(String username, String postId);
    
    void deleteFollow(String followingName, String followedName);
    void deleteWatch(String username, String postId);
    void deleteLike(String username, String postId);
    void deleteFavor(String username, String postId);

	Map<String, String> getFollow(String followingName, String followedName);
	Map<String, String> getWatch(String username, String postId);
	Map<String, String> getLike(String username, String postId);
	Map<String, String> getFavor(String username, String postId);
	
	List<Map<String, String>> getAllFollow(String myName);
	List<Map<String, String>> getAllFan(String myName);
	List<Map<String, String>> getAllWatchPost(String username);
	List<Map<String, String>> getAllWatchUser(String postId);
	List<Map<String, String>> getAllLikePost(String username);
	List<Map<String, String>> getAllLikeUser(String postId);
	List<Map<String, String>> getAllFavorPost(String username);
	List<Map<String, String>> getAllFavorUser(String postId);
	

}